import http from '@/utils/http'

// 学科列表
export const getSubjectPage = (params) => http.post('/api/subject/pager', { ...params })

export const getSubjectList = (params) => http.post('/api/subject/list', { ...params })

export const addSubject = (params) => http.post('/api/subject/add', { ...params })

export const updateSubject = (params) => http.post('/api/subject/update', { ...params })

export const deleteSubject = (params) => http.post('/api/subject/delete', { ...params })

export const sortSubject = (params) => http.post('/api/subject/sort', { ...params })
